#include <iostream>
#include <vector>
#include <sstream>
#include "fileSystem.h"

//cmake -B build; make -C build; ./build/cpp_study

int main() {
    std::cout << "Hello, Welcome to use my FileSystem!" << std::endl;
    FileSystem& fs = FileSystem::GetInstance();

    while (true){
        std::string input;
        std::cout << "ppch@localhost:" << fs.getPwd() << "$: ";
        std::getline(std::cin, input);
        fs.command(input);
    }
    return 0;
}